package com.kingdee.eas.minghua.trademanage;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class UpContractFactory
{
    private UpContractFactory()
    {
    }
    public static com.kingdee.eas.minghua.trademanage.IUpContract getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.minghua.trademanage.IUpContract)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("51E85C73") ,com.kingdee.eas.minghua.trademanage.IUpContract.class);
    }
    
    public static com.kingdee.eas.minghua.trademanage.IUpContract getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.minghua.trademanage.IUpContract)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("51E85C73") ,com.kingdee.eas.minghua.trademanage.IUpContract.class, objectCtx);
    }
    public static com.kingdee.eas.minghua.trademanage.IUpContract getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.minghua.trademanage.IUpContract)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("51E85C73"));
    }
    public static com.kingdee.eas.minghua.trademanage.IUpContract getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.minghua.trademanage.IUpContract)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("51E85C73"));
    }
}